package com.javasm.mingming.login.service;

import com.javasm.mingming.webuser.entity.WebUser;

/**
 * @author javasm
 * @version 0.1
 * @className LoginService
 * @descriptioin:
 * @date 2025/1/6 14:48
 * @since jdk11
 */
public interface LoginService {
    WebUser doUnameLogin(String username, String password);

    void doRegister(WebUser webUser);

    void doLogout();

    WebUser queryByUid(String uid);

    void backPassword(String mail);

    String checkToken(String token);

    void updatePassword(String token, String password);
}
